projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10cf099
)
(convert-standard-filename): Convert directory
author
Andrew Innes
<andrewi@gnu.org>
Fri, 5 Mar 1999 16:15:58 +0000
(16:15 +0000)
committer
Andrew Innes
<andrewi@gnu.org>
Fri, 5 Mar 1999 16:15:58 +0000
(16:15 +0000)
separators to Windows format.
lisp/w32-fns.el
patch
|
blob
|
history
diff --git
a/lisp/w32-fns.el
b/lisp/w32-fns.el
index a35e38fb50d57a888aeed8f5ea5da9163ee4c29b..d573e6e88c0742f7758f83ff4eacc5ad5932b99f 100644
(file)
--- a/
lisp/w32-fns.el
+++ b/
lisp/w32-fns.el
@@
-233,6
+233,10
@@
with a definition that really does change some file names."
(while (string-match "[?*:<>|\"\000-\037]" name start)
(aset name (match-beginning 0) ?!)
(setq start (match-end 0)))
+ ;; convert directory separators to Windows format
+ (while (string-match "/" name start)
+ (aset name (match-beginning 0) ?\\)
+ (setq start (match-end 0)))
name))
;;; Fix interface to (X-specific) mouse.el